package com.jy.adscm.operation.cg.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.operation.cg.bean.CgMaterial;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.operation.cg.bean.QueryCgMaterial;

import java.util.List;

/**
 * <p>
 * 基础物料表 服务类
 * </p>
 *
 * @author zyl
 * @since 2019-08-01
 */
public interface CgMaterialService extends IService<CgMaterial> {

    Page<CgMaterial> selectCgMaterial(Page<CgMaterial> page, QueryCgMaterial queryCgMaterial);

    Page<CgMaterial> selectCgMaterialAndSupplier(Page<CgMaterial> page, QueryCgMaterial queryCgMaterial);

    List<CgMaterial> selectByKeyWords(String name);
}
